package org.acooly.secretbox.service;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

import org.acooly.secretbox.service.domain.FileObject;

public interface FileSystem {

	FileObject createFile(String path, Map<String, String> metadata, InputStream in);

	FileObject getFile(String path);

	void mkdir(String path, Map<String, String> metadata);

	void rm(String absolutePath);

	List<FileObject> list(String path);

}
